package us.wili.dev.model.base;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import us.wili.dev.common.model.BaseModelWithId;

public class BaseHot extends BaseModelWithId implements Serializable {
    @ApiModelProperty(value="商品id")
    private Long dosid;

    public Long getDosid() {
        return dosid;
    }

    public void setDosid(Long dosid) {
        this.dosid = dosid;
    }

    public void copyPropertiesFrom(BaseHot source) {
        this.setDosid(source.getDosid());
    }

    public void copyAndIgnoreNullFrom(BaseHot source) {
        if (source.getDosid() != null) {
            this.setDosid(source.getDosid());
        }
    }
}